runtime.guintptr.cas (method)
6 uses
runtime (current package)
coro.go#L198: if c.gp.cas(next, self) {
proc.go#L6782: if !pp.runnext.cas(oldnext, guintptr(unsafe.Pointer(gp))) {
proc.go#L6892: if next != 0 && pp.runnext.cas(next, 0) {
proc.go#L6913: if oldNext != 0 && pp.runnext.cas(oldNext, 0) {
proc.go#L6982: if !pp.runnext.cas(next, 0) {
runtime2.go#L246: func (gp *guintptr) cas(old, new guintptr) bool {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)